<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>游戏房间</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/game_room.css">
</head>
<body>
    <script src="js/jquery.min.js"></script>
    <div class="nav">
        <div class="space"></div>
        <div class="tips">五子棋对弈中</div>
        <div class="short-space"></div>
        <a class="surrender" onclick="surrender()">认输</a>
    </div>
    <div class="container">
        <div class="left">
            <div class="card_up">
                <div class="peer">
                    <h3 class="name">对方: </h3>
                    <div class="score">分数: </div>
                    <div class="color">持子: </div>
                </div>
            </div>

            <div class="card_down">
                <div class="self">
                    <h3 class="name">我方: </h3>
                    <div class="score">分数: </div>
                    <div class="color">持子: </div>
                </div>
            </div>
        </div>
        <div class="center">
            <div class="board">
                <!-- 棋盘区域, 需要基于 canvas 进行实现 -->
                <canvas id="chess" width="450px" height="450px">

                </canvas>
                <!-- 显示区域 -->
                <div id="screen"> 等待对方连接... </div>
            </div>
        </div>
        <div class="right">
            <div class="chatroom">
                <h3>棋谱: </h3>
            </div>
        </div>
    </div>
    <script src="js/script.js"></script>
</body>
</html>